package com.tf_cut.backend.seller.pojo;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.sql.Timestamp;

@Entity
@Table(name = "seller_provide_order")
@Data
public class SellerOrder {
	@Id
	private String orderId;
	private String sellerId;
	private String sellerName;
	private String serviceId;
	private String serviceName;
	private Timestamp applyTime;
	private Timestamp endTime;
	private String provideList;			// 交易清单
	private BigDecimal provideAmount;		
	private BigDecimal realAmount;
	private Double failedAmount;
	private Double serviceAmount;
	private Integer orderType;			// 0：已提交；1：成功；2：失败；99：废弃
	
	private BigDecimal baseAmountPoint;		// 基础点数
	private BigDecimal overAmountPoint;		// 差额点数
	private BigDecimal serverAmountPoint;	// 服务点数
	private BigDecimal stepAmountPoint;		// 阶梯点数
	
	private BigDecimal overAmount;
	private BigDecimal stepAmount;
	private Long importId;
	private Double billTotal;
	/**
	 * 0：待审核；1：审核通过；2：审核拒绝
	 */
	private Integer approveStatus;
}
